package com.cloud.DrugManagement.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author zhozixiong
 * @date 2023/02/06
 */
@TableName
@ApiModel(description = "药品零售信息")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Drugs {
    @TableId
    @ApiModelProperty("药品编号")
    private Integer did;
    @ApiModelProperty("药品名称")
    private String dname;
    @ApiModelProperty("规格")
    private String specifications;
    @ApiModelProperty("包装")
    private String packing;
    @ApiModelProperty("有效期-单位月")
    private Integer valid;
    @ApiModelProperty("零售价")
    private Double retailPrice;
    @JsonIgnore
    @TableLogic(value = "0", delval = "1")
    private Integer deleted;
}
